<template>
    <div :class="`article ${data.class.col_num} ${data.class.radius}`"
         :style="{'margin-bottom': data.style.margin_bottom+'px',
         'margin-left':data.style.margin_x+'px', 'margin-right': data.style.margin_x+'px'}"
    >
        <div class="article_item" v-for="li in data.list">
            <div class="article_item_img">
                <img class="img" :src="li.image" />
            </div>
            <div class="article_item_b">
                <div class="f14">{{li.title}}</div>
                <div class="f12 f_secondary">{{li.create_time}}</div>
            </div>
        </div>
    </div>
</template>

<script setup lang="ts">
const props = defineProps<{
    data: any
}>()
</script>

<style scoped lang="scss">
@use "src/views/site/diy/style.css";
</style>
